package monster.com.cvh.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2018/3/8.
 */

public class NewsBean implements Serializable {

    /**
     * code : 1
     * data : [{"author_id":-1,"author_name":"佚名","collect_count":0,"cover_image_URL":"https://gitee.com/ficow/Disk/raw/47e8e7419d4042ec9e47350aabb698904aba3dc7/TestImage.jpg","id":330,"is_collect":false,"comment_count":1,"publish_time":"2018-04-08 17:23:03.486284","title":"测试测试测试测试","view_count":2},{"author_id":-1,"author_name":"佚名","collect_count":0,"cover_image_URL":"https://gitee.com/ficow/Disk/raw/47e8e7419d4042ec9e47350aabb698904aba3dc7/TestImage.jpg","id":329,"is_collect":false,"comment_count":1,"publish_time":"2018-04-08 17:23:03.484879","title":"测试测试测试测试","view_count":2}]
     * msg : ok
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * author_id : -1
         * author_name : 佚名
         * collect_count : 0
         * cover_image_URL : https://gitee.com/ficow/Disk/raw/47e8e7419d4042ec9e47350aabb698904aba3dc7/TestImage.jpg
         * id : 330
         * is_collect : false
         * comment_count : 1
         * publish_time : 2018-04-08 17:23:03.486284
         * title : 测试测试测试测试
         * view_count : 2
         */

        private int author_id;
        private String author_name;
        private int collect_count;
        private String cover_image_URL;
        private int id;
        private boolean is_collect;
        private int comment_count;
        private String publish_time;
        private String title;
        private int view_count;

        public int getAuthor_id() {
            return author_id;
        }

        public void setAuthor_id(int author_id) {
            this.author_id = author_id;
        }

        public String getAuthor_name() {
            return author_name;
        }

        public void setAuthor_name(String author_name) {
            this.author_name = author_name;
        }

        public int getCollect_count() {
            return collect_count;
        }

        public void setCollect_count(int collect_count) {
            this.collect_count = collect_count;
        }

        public String getCover_image_URL() {
            return cover_image_URL;
        }

        public void setCover_image_URL(String cover_image_URL) {
            this.cover_image_URL = cover_image_URL;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public boolean isIs_collect() {
            return is_collect;
        }

        public void setIs_collect(boolean is_collect) {
            this.is_collect = is_collect;
        }

        public int getComment_count() {
            return comment_count;
        }

        public void setComment_count(int comment_count) {
            this.comment_count = comment_count;
        }

        public String getPublish_time() {
            return publish_time;
        }

        public void setPublish_time(String publish_time) {
            this.publish_time = publish_time;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getView_count() {
            return view_count;
        }

        public void setView_count(int view_count) {
            this.view_count = view_count;
        }
    }
}
